package com.example.tijianbackend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.tijianbackend.dto.PersonalOrderDTO;
import com.example.tijianbackend.pojo.Orders;

import java.util.List;

public interface OrdersService extends IService<Orders> {

    public void saveOrders(Orders orders);

    List<PersonalOrderDTO> getPersonalOrder(String userId);

    void cancelOrder(Integer orderId);
}
